﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace MotivLogger.LogMethods
{
    class CSVLog : ILogMethod                    //http://amer9264.wordpress.com/2011/07/28/generate-rtf-table-from-data-table-insert-rtf-table-in-richtextbox/
    {
        private ISetting LoggerSettings;
        public void Log(LogLevels Level, string body, string Actor)
        {
            StreamWriter sw = new StreamWriter("csv.csv",true);
            sw.WriteLine(Level.ToString() + ";" + body + ";" + Actor);
            sw.Close();
        }

        public void Stop() { ;}
    }
}
